#----------------
#seph add.. www.ittraining.com.tw
#   Nov 20,2013
#----------------------------------

ans=no
echo 'Re-configure (type yes or no) ?'
read ans
 
if [ $ans = 'yes' ] ; then
./configure --prefix=`pwd`/_install
fi 

make
[ $? -ne 0 ] && { echo "compile error !" ;exit ; }

cd tests;./compile.sh

[ $? -ne 0 ] && { echo "compile error !" ;exit ; }

cd ..
make install
cp -a _install/lib/* /lib


